package com.hcy.customer;

import com.hcy.rabbitbasicmodel.model.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/3/11 19:21
 */
@FeignClient(name = "common-api")
public interface CustomerPageInfoClient {
    @PostMapping("/customer/runtime/getCarInfo")
    ResponseData<List<CarLevelInfoResponse>> getCarInfo(@Validated @RequestBody CarLevelInfoRequest request);
}
